// D3D9Camera.h

#ifndef __D3D9CAMERA_H__
#define __D3D9CAMERA_H__

// #include "ICamera.h"

class CD3D9Camera /*: public ICamera*/
{
private:
	float m_fFov;
	float m_fAspect;
	float m_fFarPlane;
	float m_fNearPlane;
	D3DXVECTOR3 m_vEye;
	D3DXVECTOR3 m_vLookat;
	D3DXVECTOR3 m_vUpVec;
public:
	CD3D9Camera(void);
	~CD3D9Camera();

	virtual void Setup(float pos_x, float pos_y, float pos_z, float look_x, float look_y, float look_z, float up_x, float up_y, float up_z);
	virtual void SetViewport(int nWidth, int nHeight);
	virtual void SetFarPlane(float fValue);
	virtual void SetNearPlane(float fValue);
	virtual void SetPos(float x, float y, float z);
	virtual void SetLookAt(float x, float y, float z);
	virtual void SetFov(float fFov);

	virtual D3DXVECTOR3 GetDir(void);
	virtual D3DXVECTOR3 GetPos(void);
};

#endif //__D3D9CAMERA_H__